{"ast":null,"code":"import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nvar _excluded = [\"colSpan\", \"rowSpan\", \"style\", \"className\"];\nimport classNames from 'classnames';\nimport { supportRef } from \"rc-util/es/ref\";\nimport warning from \"rc-util/es/warning\";\nimport * as React from 'react';\nimport shallowEqual from 'shallowequal';\nimport BodyContext from \"../context/BodyContext\";\nimport HoverContext from \"../context/HoverContext\";\nimport PerfContext from \"../context/PerfContext\";\nimport StickyContext from \"../context/StickyContext\";\nimport { useContextSelector } from \"../ContextSelector\";\nimport { getPathValue, validateValue } from \"../utils/valueUtil\";\n/** Check if cell is in hover range */\n\nfunction inHoverRange(cellStartRow, cellRowSpan, startRow, endRow) {\n  var cellEndRow = cellStartRow + cellRowSpan - 1;\n  return cellStartRow <= endRow && cellEndRow >= startRow;\n}\nfunction isRenderCell(data) {\n  return data && _typeof(data) === 'object' && !Array.isArray(data) && ! /*#__PURE__*/React.isValidElement(data);\n}\nfunction isRefComponent(component) {\n  // String tag component also support ref\n  if (typeof component === 'string') {\n    return true;\n  }\n  return supportRef(component);\n}\nvar getTitleFromCellRenderChildren = function getTitleFromCellRenderChildren(_ref) {\n  var ellipsis = _ref.ellipsis,\n    rowType = _ref.rowType,\n    children = _ref.children;\n  var title;\n  var ellipsisConfig = ellipsis === true ? {\n    showTitle: true\n  } : ellipsis;\n  if (ellipsisConfig && (ellipsisConfig.showTitle || rowType === 'header')) {\n    if (typeof children === 'string' || typeof children === 'number') {\n      title = children.toString();\n    } else if ( /*#__PURE__*/React.isValidElement(children) && typeof children.props.children === 'string') {\n      title = children.props.children;\n    }\n  }\n  return title;\n};\nfunction Cell(_ref2, ref) {\n  var _ref4, _ref5, _classNames;\n  var prefixCls = _ref2.prefixCls,\n    className = _ref2.className,\n    record = _ref2.record,\n    index = _ref2.index,\n    renderIndex = _ref2.renderIndex,\n    dataIndex = _ref2.dataIndex,\n    render = _ref2.render,\n    children = _ref2.children,\n    _ref2$component = _ref2.component,\n    Component = _ref2$component === void 0 ? 'td' : _ref2$component,\n    colSpan = _ref2.colSpan,\n    rowSpan = _ref2.rowSpan,\n    scope = _ref2.scope,\n    fixLeft = _ref2.fixLeft,\n    fixRight = _ref2.fixRight,\n    firstFixLeft = _ref2.firstFixLeft,\n    lastFixLeft = _ref2.lastFixLeft,\n    firstFixRight = _ref2.firstFixRight,\n    lastFixRight = _ref2.lastFixRight,\n    appendNode = _ref2.appendNode,\n    _ref2$additionalProps = _ref2.additionalProps,\n    additionalProps = _ref2$additionalProps === void 0 ? {} : _ref2$additionalProps,\n    ellipsis = _ref2.ellipsis,\n    align = _ref2.align,\n    rowType = _ref2.rowType,\n    isSticky = _ref2.isSticky,\n    hovering = _ref2.hovering,\n    onHover = _ref2.onHover;\n  var cellPrefixCls = \"\".concat(prefixCls, \"-cell\");\n  var perfRecord = React.useContext(PerfContext);\n  var supportSticky = React.useContext(StickyContext);\n  var allColumnsFixedLeft = useContextSelector(BodyContext, 'allColumnsFixedLeft'); // ==================== Child Node ====================\n\n  var _React$useMemo = React.useMemo(function () {\n      if (validateValue(children)) {\n        return [children];\n      }\n      var value = getPathValue(record, dataIndex); // Customize render node\n\n      var returnChildNode = value;\n      var returnCellProps = undefined;\n      if (render) {\n        var renderData = render(value, record, renderIndex);\n        if (isRenderCell(renderData)) {\n          if (process.env.NODE_ENV !== 'production') {\n            warning(false, '`columns.render` return cell props is deprecated with perf issue, please use `onCell` instead.');\n          }\n          returnChildNode = renderData.children;\n          returnCellProps = renderData.props;\n          perfRecord.renderWithProps = true;\n        } else {\n          returnChildNode = renderData;\n        }\n      }\n      return [returnChildNode, returnCellProps];\n    }, [/* eslint-disable react-hooks/exhaustive-deps */\n    // Always re-render if `renderWithProps`\n    perfRecord.renderWithProps ? Math.random() : 0, /* eslint-enable */\n    children, dataIndex, perfRecord, record, render, renderIndex]),\n    _React$useMemo2 = _slicedToArray(_React$useMemo, 2),\n    childNode = _React$useMemo2[0],\n    legacyCellProps = _React$useMemo2[1];\n  var mergedChildNode = childNode; // Not crash if final `childNode` is not validate ReactNode\n\n  if (_typeof(mergedChildNode) === 'object' && !Array.isArray(mergedChildNode) && ! /*#__PURE__*/React.isValidElement(mergedChildNode)) {\n    mergedChildNode = null;\n  }\n  if (ellipsis && (lastFixLeft || firstFixRight)) {\n    mergedChildNode = /*#__PURE__*/React.createElement(\"span\", {\n      className: \"\".concat(cellPrefixCls, \"-content\")\n    }, mergedChildNode);\n  }\n  var _ref3 = legacyCellProps || {},\n    cellColSpan = _ref3.colSpan,\n    cellRowSpan = _ref3.rowSpan,\n    cellStyle = _ref3.style,\n    cellClassName = _ref3.className,\n    restCellProps = _objectWithoutProperties(_ref3, _excluded);\n  var mergedColSpan = (_ref4 = cellColSpan !== undefined ? cellColSpan : colSpan) !== null && _ref4 !== void 0 ? _ref4 : 1;\n  var mergedRowSpan = (_ref5 = cellRowSpan !== undefined ? cellRowSpan : rowSpan) !== null && _ref5 !== void 0 ? _ref5 : 1;\n  if (mergedColSpan === 0 || mergedRowSpan === 0) {\n    return null;\n  } // ====================== Fixed =======================\n\n  var fixedStyle = {};\n  var isFixLeft = typeof fixLeft === 'number' && supportSticky;\n  var isFixRight = typeof fixRight === 'number' && supportSticky;\n  if (isFixLeft) {\n    fixedStyle.position = 'sticky';\n    fixedStyle.left = fixLeft;\n  }\n  if (isFixRight) {\n    fixedStyle.position = 'sticky';\n    fixedStyle.right = fixRight;\n  } // ====================== Align =======================\n\n  var alignStyle = {};\n  if (align) {\n    alignStyle.textAlign = align;\n  } // ====================== Hover =======================\n\n  var onMouseEnter = function onMouseEnter(event) {\n    var _additionalProps$onMo;\n    if (record) {\n      onHover(index, index + mergedRowSpan - 1);\n    }\n    additionalProps === null || additionalProps === void 0 ? void 0 : (_additionalProps$onMo = additionalProps.onMouseEnter) === null || _additionalProps$onMo === void 0 ? void 0 : _additionalProps$onMo.call(additionalProps, event);\n  };\n  var onMouseLeave = function onMouseLeave(event) {\n    var _additionalProps$onMo2;\n    if (record) {\n      onHover(-1, -1);\n    }\n    additionalProps === null || additionalProps === void 0 ? void 0 : (_additionalProps$onMo2 = additionalProps.onMouseLeave) === null || _additionalProps$onMo2 === void 0 ? void 0 : _additionalProps$onMo2.call(additionalProps, event);\n  }; // ====================== Render ======================\n\n  var title = getTitleFromCellRenderChildren({\n    rowType: rowType,\n    ellipsis: ellipsis,\n    children: childNode\n  });\n  var componentProps = _objectSpread(_objectSpread(_objectSpread({\n    title: title\n  }, restCellProps), additionalProps), {}, {\n    colSpan: mergedColSpan !== 1 ? mergedColSpan : null,\n    rowSpan: mergedRowSpan !== 1 ? mergedRowSpan : null,\n    scope: scope,\n    className: classNames(cellPrefixCls, className, (_classNames = {}, _defineProperty(_classNames, \"\".concat(cellPrefixCls, \"-fix-left\"), isFixLeft && supportSticky), _defineProperty(_classNames, \"\".concat(cellPrefixCls, \"-fix-left-first\"), firstFixLeft && supportSticky), _defineProperty(_classNames, \"\".concat(cellPrefixCls, \"-fix-left-last\"), lastFixLeft && supportSticky), _defineProperty(_classNames, \"\".concat(cellPrefixCls, \"-fix-left-all\"), lastFixLeft && allColumnsFixedLeft && supportSticky), _defineProperty(_classNames, \"\".concat(cellPrefixCls, \"-fix-right\"), isFixRight && supportSticky), _defineProperty(_classNames, \"\".concat(cellPrefixCls, \"-fix-right-first\"), firstFixRight && supportSticky), _defineProperty(_classNames, \"\".concat(cellPrefixCls, \"-fix-right-last\"), lastFixRight && supportSticky), _defineProperty(_classNames, \"\".concat(cellPrefixCls, \"-ellipsis\"), ellipsis), _defineProperty(_classNames, \"\".concat(cellPrefixCls, \"-with-append\"), appendNode), _defineProperty(_classNames, \"\".concat(cellPrefixCls, \"-fix-sticky\"), (isFixLeft || isFixRight) && isSticky && supportSticky), _defineProperty(_classNames, \"\".concat(cellPrefixCls, \"-row-hover\"), !legacyCellProps && hovering), _classNames), additionalProps.className, cellClassName),\n    style: _objectSpread(_objectSpread(_objectSpread(_objectSpread({}, additionalProps.style), alignStyle), fixedStyle), cellStyle),\n    onMouseEnter: onMouseEnter,\n    onMouseLeave: onMouseLeave,\n    ref: isRefComponent(Component) ? ref : null\n  });\n  return /*#__PURE__*/React.createElement(Component, componentProps, appendNode, mergedChildNode);\n}\nvar RefCell = /*#__PURE__*/React.forwardRef(Cell);\nRefCell.displayName = 'Cell';\nvar comparePropList = ['expanded', 'className', 'hovering'];\nvar MemoCell = /*#__PURE__*/React.memo(RefCell, function (prev, next) {\n  if (next.shouldCellUpdate) {\n    return (\n      // Additional handle of expanded logic\n      comparePropList.every(function (propName) {\n        return prev[propName] === next[propName];\n      }) &&\n      // User control update logic\n      !next.shouldCellUpdate(next.record, prev.record)\n    );\n  }\n  return shallowEqual(prev, next);\n});\n/** Inject hover data here, we still wish MemoCell keep simple `shouldCellUpdate` logic */\n\nvar WrappedCell = /*#__PURE__*/React.forwardRef(function (props, ref) {\n  var index = props.index,\n    _props$additionalProp = props.additionalProps,\n    additionalProps = _props$additionalProp === void 0 ? {} : _props$additionalProp,\n    colSpan = props.colSpan,\n    rowSpan = props.rowSpan;\n  var cellColSpan = additionalProps.colSpan,\n    cellRowSpan = additionalProps.rowSpan;\n  var mergedColSpan = colSpan !== null && colSpan !== void 0 ? colSpan : cellColSpan;\n  var mergedRowSpan = rowSpan !== null && rowSpan !== void 0 ? rowSpan : cellRowSpan;\n  var _useContextSelector = useContextSelector(HoverContext, function (cxt) {\n      var isHovering = inHoverRange(index, mergedRowSpan || 1, cxt === null || cxt === void 0 ? void 0 : cxt.startRow, cxt === null || cxt === void 0 ? void 0 : cxt.endRow);\n      return {\n        onHover: cxt === null || cxt === void 0 ? void 0 : cxt.onHover,\n        hovering: isHovering\n      };\n    }),\n    onHover = _useContextSelector.onHover,\n    hovering = _useContextSelector.hovering;\n  return /*#__PURE__*/React.createElement(MemoCell, _extends({}, props, {\n    colSpan: mergedColSpan,\n    rowSpan: mergedRowSpan,\n    hovering: hovering,\n    ref: ref,\n    onHover: onHover\n  }));\n});\nWrappedCell.displayName = 'WrappedCell';\nexport default WrappedCell;","map":{"version":3,"names":["_extends","_defineProperty","_objectSpread","_objectWithoutProperties","_slicedToArray","_typeof","_excluded","classNames","supportRef","warning","React","shallowEqual","BodyContext","HoverContext","PerfContext","StickyContext","useContextSelector","getPathValue","validateValue","inHoverRange","cellStartRow","cellRowSpan","startRow","endRow","cellEndRow","isRenderCell","data","Array","isArray","isValidElement","isRefComponent","component","getTitleFromCellRenderChildren","_ref","ellipsis","rowType","children","title","ellipsisConfig","showTitle","toString","props","Cell","_ref2","ref","_ref4","_ref5","_classNames","prefixCls","className","record","index","renderIndex","dataIndex","render","_ref2$component","Component","colSpan","rowSpan","scope","fixLeft","fixRight","firstFixLeft","lastFixLeft","firstFixRight","lastFixRight","appendNode","_ref2$additionalProps","additionalProps","align","isSticky","hovering","onHover","cellPrefixCls","concat","perfRecord","useContext","supportSticky","allColumnsFixedLeft","_React$useMemo","useMemo","value","returnChildNode","returnCellProps","undefined","renderData","process","env","NODE_ENV","renderWithProps","Math","random","_React$useMemo2","childNode","legacyCellProps","mergedChildNode","createElement","_ref3","cellColSpan","cellStyle","style","cellClassName","restCellProps","mergedColSpan","mergedRowSpan","fixedStyle","isFixLeft","isFixRight","position","left","right","alignStyle","textAlign","onMouseEnter","event","_additionalProps$onMo","call","onMouseLeave","_additionalProps$onMo2","componentProps","RefCell","forwardRef","displayName","comparePropList","MemoCell","memo","prev","next","shouldCellUpdate","every","propName","WrappedCell","_props$additionalProp","_useContextSelector","cxt","isHovering"],"sources":["/data/messenger.client/node_modules/rc-table/es/Cell/index.js"],"sourcesContent":["import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nvar _excluded = [\"colSpan\", \"rowSpan\", \"style\", \"className\"];\nimport classNames from 'classnames';\nimport { supportRef } from \"rc-util/es/ref\";\nimport warning from \"rc-util/es/warning\";\nimport * as React from 'react';\nimport shallowEqual from 'shallowequal';\nimport BodyContext from \"../context/BodyContext\";\nimport HoverContext from \"../context/HoverContext\";\nimport PerfContext from \"../context/PerfContext\";\nimport StickyContext from \"../context/StickyContext\";\nimport { useContextSelector } from \"../ContextSelector\";\nimport { getPathValue, validateValue } from \"../utils/valueUtil\";\n/** Check if cell is in hover range */\n\nfunction inHoverRange(cellStartRow, cellRowSpan, startRow, endRow) {\n  var cellEndRow = cellStartRow + cellRowSpan - 1;\n  return cellStartRow <= endRow && cellEndRow >= startRow;\n}\n\nfunction isRenderCell(data) {\n  return data && _typeof(data) === 'object' && !Array.isArray(data) && ! /*#__PURE__*/React.isValidElement(data);\n}\n\nfunction isRefComponent(component) {\n  // String tag component also support ref\n  if (typeof component === 'string') {\n    return true;\n  }\n\n  return supportRef(component);\n}\n\nvar getTitleFromCellRenderChildren = function getTitleFromCellRenderChildren(_ref) {\n  var ellipsis = _ref.ellipsis,\n      rowType = _ref.rowType,\n      children = _ref.children;\n  var title;\n  var ellipsisConfig = ellipsis === true ? {\n    showTitle: true\n  } : ellipsis;\n\n  if (ellipsisConfig && (ellipsisConfig.showTitle || rowType === 'header')) {\n    if (typeof children === 'string' || typeof children === 'number') {\n      title = children.toString();\n    } else if ( /*#__PURE__*/React.isValidElement(children) && typeof children.props.children === 'string') {\n      title = children.props.children;\n    }\n  }\n\n  return title;\n};\n\nfunction Cell(_ref2, ref) {\n  var _ref4, _ref5, _classNames;\n\n  var prefixCls = _ref2.prefixCls,\n      className = _ref2.className,\n      record = _ref2.record,\n      index = _ref2.index,\n      renderIndex = _ref2.renderIndex,\n      dataIndex = _ref2.dataIndex,\n      render = _ref2.render,\n      children = _ref2.children,\n      _ref2$component = _ref2.component,\n      Component = _ref2$component === void 0 ? 'td' : _ref2$component,\n      colSpan = _ref2.colSpan,\n      rowSpan = _ref2.rowSpan,\n      scope = _ref2.scope,\n      fixLeft = _ref2.fixLeft,\n      fixRight = _ref2.fixRight,\n      firstFixLeft = _ref2.firstFixLeft,\n      lastFixLeft = _ref2.lastFixLeft,\n      firstFixRight = _ref2.firstFixRight,\n      lastFixRight = _ref2.lastFixRight,\n      appendNode = _ref2.appendNode,\n      _ref2$additionalProps = _ref2.additionalProps,\n      additionalProps = _ref2$additionalProps === void 0 ? {} : _ref2$additionalProps,\n      ellipsis = _ref2.ellipsis,\n      align = _ref2.align,\n      rowType = _ref2.rowType,\n      isSticky = _ref2.isSticky,\n      hovering = _ref2.hovering,\n      onHover = _ref2.onHover;\n  var cellPrefixCls = \"\".concat(prefixCls, \"-cell\");\n  var perfRecord = React.useContext(PerfContext);\n  var supportSticky = React.useContext(StickyContext);\n  var allColumnsFixedLeft = useContextSelector(BodyContext, 'allColumnsFixedLeft'); // ==================== Child Node ====================\n\n  var _React$useMemo = React.useMemo(function () {\n    if (validateValue(children)) {\n      return [children];\n    }\n\n    var value = getPathValue(record, dataIndex); // Customize render node\n\n    var returnChildNode = value;\n    var returnCellProps = undefined;\n\n    if (render) {\n      var renderData = render(value, record, renderIndex);\n\n      if (isRenderCell(renderData)) {\n        if (process.env.NODE_ENV !== 'production') {\n          warning(false, '`columns.render` return cell props is deprecated with perf issue, please use `onCell` instead.');\n        }\n\n        returnChildNode = renderData.children;\n        returnCellProps = renderData.props;\n        perfRecord.renderWithProps = true;\n      } else {\n        returnChildNode = renderData;\n      }\n    }\n\n    return [returnChildNode, returnCellProps];\n  }, [\n  /* eslint-disable react-hooks/exhaustive-deps */\n  // Always re-render if `renderWithProps`\n  perfRecord.renderWithProps ? Math.random() : 0,\n  /* eslint-enable */\n  children, dataIndex, perfRecord, record, render, renderIndex]),\n      _React$useMemo2 = _slicedToArray(_React$useMemo, 2),\n      childNode = _React$useMemo2[0],\n      legacyCellProps = _React$useMemo2[1];\n\n  var mergedChildNode = childNode; // Not crash if final `childNode` is not validate ReactNode\n\n  if (_typeof(mergedChildNode) === 'object' && !Array.isArray(mergedChildNode) && ! /*#__PURE__*/React.isValidElement(mergedChildNode)) {\n    mergedChildNode = null;\n  }\n\n  if (ellipsis && (lastFixLeft || firstFixRight)) {\n    mergedChildNode = /*#__PURE__*/React.createElement(\"span\", {\n      className: \"\".concat(cellPrefixCls, \"-content\")\n    }, mergedChildNode);\n  }\n\n  var _ref3 = legacyCellProps || {},\n      cellColSpan = _ref3.colSpan,\n      cellRowSpan = _ref3.rowSpan,\n      cellStyle = _ref3.style,\n      cellClassName = _ref3.className,\n      restCellProps = _objectWithoutProperties(_ref3, _excluded);\n\n  var mergedColSpan = (_ref4 = cellColSpan !== undefined ? cellColSpan : colSpan) !== null && _ref4 !== void 0 ? _ref4 : 1;\n  var mergedRowSpan = (_ref5 = cellRowSpan !== undefined ? cellRowSpan : rowSpan) !== null && _ref5 !== void 0 ? _ref5 : 1;\n\n  if (mergedColSpan === 0 || mergedRowSpan === 0) {\n    return null;\n  } // ====================== Fixed =======================\n\n\n  var fixedStyle = {};\n  var isFixLeft = typeof fixLeft === 'number' && supportSticky;\n  var isFixRight = typeof fixRight === 'number' && supportSticky;\n\n  if (isFixLeft) {\n    fixedStyle.position = 'sticky';\n    fixedStyle.left = fixLeft;\n  }\n\n  if (isFixRight) {\n    fixedStyle.position = 'sticky';\n    fixedStyle.right = fixRight;\n  } // ====================== Align =======================\n\n\n  var alignStyle = {};\n\n  if (align) {\n    alignStyle.textAlign = align;\n  } // ====================== Hover =======================\n\n\n  var onMouseEnter = function onMouseEnter(event) {\n    var _additionalProps$onMo;\n\n    if (record) {\n      onHover(index, index + mergedRowSpan - 1);\n    }\n\n    additionalProps === null || additionalProps === void 0 ? void 0 : (_additionalProps$onMo = additionalProps.onMouseEnter) === null || _additionalProps$onMo === void 0 ? void 0 : _additionalProps$onMo.call(additionalProps, event);\n  };\n\n  var onMouseLeave = function onMouseLeave(event) {\n    var _additionalProps$onMo2;\n\n    if (record) {\n      onHover(-1, -1);\n    }\n\n    additionalProps === null || additionalProps === void 0 ? void 0 : (_additionalProps$onMo2 = additionalProps.onMouseLeave) === null || _additionalProps$onMo2 === void 0 ? void 0 : _additionalProps$onMo2.call(additionalProps, event);\n  }; // ====================== Render ======================\n\n\n  var title = getTitleFromCellRenderChildren({\n    rowType: rowType,\n    ellipsis: ellipsis,\n    children: childNode\n  });\n\n  var componentProps = _objectSpread(_objectSpread(_objectSpread({\n    title: title\n  }, restCellProps), additionalProps), {}, {\n    colSpan: mergedColSpan !== 1 ? mergedColSpan : null,\n    rowSpan: mergedRowSpan !== 1 ? mergedRowSpan : null,\n    scope: scope,\n    className: classNames(cellPrefixCls, className, (_classNames = {}, _defineProperty(_classNames, \"\".concat(cellPrefixCls, \"-fix-left\"), isFixLeft && supportSticky), _defineProperty(_classNames, \"\".concat(cellPrefixCls, \"-fix-left-first\"), firstFixLeft && supportSticky), _defineProperty(_classNames, \"\".concat(cellPrefixCls, \"-fix-left-last\"), lastFixLeft && supportSticky), _defineProperty(_classNames, \"\".concat(cellPrefixCls, \"-fix-left-all\"), lastFixLeft && allColumnsFixedLeft && supportSticky), _defineProperty(_classNames, \"\".concat(cellPrefixCls, \"-fix-right\"), isFixRight && supportSticky), _defineProperty(_classNames, \"\".concat(cellPrefixCls, \"-fix-right-first\"), firstFixRight && supportSticky), _defineProperty(_classNames, \"\".concat(cellPrefixCls, \"-fix-right-last\"), lastFixRight && supportSticky), _defineProperty(_classNames, \"\".concat(cellPrefixCls, \"-ellipsis\"), ellipsis), _defineProperty(_classNames, \"\".concat(cellPrefixCls, \"-with-append\"), appendNode), _defineProperty(_classNames, \"\".concat(cellPrefixCls, \"-fix-sticky\"), (isFixLeft || isFixRight) && isSticky && supportSticky), _defineProperty(_classNames, \"\".concat(cellPrefixCls, \"-row-hover\"), !legacyCellProps && hovering), _classNames), additionalProps.className, cellClassName),\n    style: _objectSpread(_objectSpread(_objectSpread(_objectSpread({}, additionalProps.style), alignStyle), fixedStyle), cellStyle),\n    onMouseEnter: onMouseEnter,\n    onMouseLeave: onMouseLeave,\n    ref: isRefComponent(Component) ? ref : null\n  });\n\n  return /*#__PURE__*/React.createElement(Component, componentProps, appendNode, mergedChildNode);\n}\n\nvar RefCell = /*#__PURE__*/React.forwardRef(Cell);\nRefCell.displayName = 'Cell';\nvar comparePropList = ['expanded', 'className', 'hovering'];\nvar MemoCell = /*#__PURE__*/React.memo(RefCell, function (prev, next) {\n  if (next.shouldCellUpdate) {\n    return (// Additional handle of expanded logic\n      comparePropList.every(function (propName) {\n        return prev[propName] === next[propName];\n      }) && // User control update logic\n      !next.shouldCellUpdate(next.record, prev.record)\n    );\n  }\n\n  return shallowEqual(prev, next);\n});\n/** Inject hover data here, we still wish MemoCell keep simple `shouldCellUpdate` logic */\n\nvar WrappedCell = /*#__PURE__*/React.forwardRef(function (props, ref) {\n  var index = props.index,\n      _props$additionalProp = props.additionalProps,\n      additionalProps = _props$additionalProp === void 0 ? {} : _props$additionalProp,\n      colSpan = props.colSpan,\n      rowSpan = props.rowSpan;\n  var cellColSpan = additionalProps.colSpan,\n      cellRowSpan = additionalProps.rowSpan;\n  var mergedColSpan = colSpan !== null && colSpan !== void 0 ? colSpan : cellColSpan;\n  var mergedRowSpan = rowSpan !== null && rowSpan !== void 0 ? rowSpan : cellRowSpan;\n\n  var _useContextSelector = useContextSelector(HoverContext, function (cxt) {\n    var isHovering = inHoverRange(index, mergedRowSpan || 1, cxt === null || cxt === void 0 ? void 0 : cxt.startRow, cxt === null || cxt === void 0 ? void 0 : cxt.endRow);\n    return {\n      onHover: cxt === null || cxt === void 0 ? void 0 : cxt.onHover,\n      hovering: isHovering\n    };\n  }),\n      onHover = _useContextSelector.onHover,\n      hovering = _useContextSelector.hovering;\n\n  return /*#__PURE__*/React.createElement(MemoCell, _extends({}, props, {\n    colSpan: mergedColSpan,\n    rowSpan: mergedRowSpan,\n    hovering: hovering,\n    ref: ref,\n    onHover: onHover\n  }));\n});\nWrappedCell.displayName = 'WrappedCell';\nexport default WrappedCell;"],"mappings":"AAAA,OAAOA,QAAQ,MAAM,oCAAoC;AACzD,OAAOC,eAAe,MAAM,2CAA2C;AACvE,OAAOC,aAAa,MAAM,0CAA0C;AACpE,OAAOC,wBAAwB,MAAM,oDAAoD;AACzF,OAAOC,cAAc,MAAM,0CAA0C;AACrE,OAAOC,OAAO,MAAM,mCAAmC;AACvD,IAAIC,SAAS,GAAG,CAAC,SAAS,EAAE,SAAS,EAAE,OAAO,EAAE,WAAW,CAAC;AAC5D,OAAOC,UAAU,MAAM,YAAY;AACnC,SAASC,UAAU,QAAQ,gBAAgB;AAC3C,OAAOC,OAAO,MAAM,oBAAoB;AACxC,OAAO,KAAKC,KAAK,MAAM,OAAO;AAC9B,OAAOC,YAAY,MAAM,cAAc;AACvC,OAAOC,WAAW,MAAM,wBAAwB;AAChD,OAAOC,YAAY,MAAM,yBAAyB;AAClD,OAAOC,WAAW,MAAM,wBAAwB;AAChD,OAAOC,aAAa,MAAM,0BAA0B;AACpD,SAASC,kBAAkB,QAAQ,oBAAoB;AACvD,SAASC,YAAY,EAAEC,aAAa,QAAQ,oBAAoB;AAChE;;AAEA,SAASC,YAAY,CAACC,YAAY,EAAEC,WAAW,EAAEC,QAAQ,EAAEC,MAAM,EAAE;EACjE,IAAIC,UAAU,GAAGJ,YAAY,GAAGC,WAAW,GAAG,CAAC;EAC/C,OAAOD,YAAY,IAAIG,MAAM,IAAIC,UAAU,IAAIF,QAAQ;AACzD;AAEA,SAASG,YAAY,CAACC,IAAI,EAAE;EAC1B,OAAOA,IAAI,IAAIrB,OAAO,CAACqB,IAAI,CAAC,KAAK,QAAQ,IAAI,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